package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营养元素对象 soil_chemistry
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class SoilChemistry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 样本id */
    private Long sId;

    /** 不稳定碳(mg/kg) */
    @Excel(name = "不稳定碳(mg/kg)")
    private BigDecimal doc;

    /** 不稳定氮(g/kg) */
    @Excel(name = "不稳定氮(g/kg)")
    private BigDecimal don;

    /** 重金属(g/kg) 全量 */
    @Excel(name = "重金属(g/kg) 全量")
    private String cdall;

    /** 重金属(g/kg) 有效态 */
    @Excel(name = "重金属(g/kg) 有效态")
    private String cd;

    /** 可利用氮(mg/kg)no3 */
    @Excel(name = "可利用氮(mg/kg)no3")
    private String anno3;

    /** 可利用氮(mg/kg)nh4 */
    @Excel(name = "可利用氮(mg/kg)nh4")
    private String annh4;

    /** 阳离子交换量 */
    @Excel(name = "阳离子交换量")
    private String cec;

    /** 电导率 EC (ms/cm) */
    @Excel(name = "电导率 EC (ms/cm)")
    private String ec;

    /** 总氮(g/kg) */
    @Excel(name = "总氮(g/kg)")
    private String alln;

    /** 可利用K(g/kg) */
    @Excel(name = "可利用K(g/kg)")
    private String aK;

    /** 可利用磷(mg/kg) */
    @Excel(name = "可利用磷(mg/kg)")
    private String aP;

    /** ph值 */
    @Excel(name = "ph值")
    private String ph;

    /** 有机碳 */
    @Excel(name = "有机碳")
    private String oc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setDoc(BigDecimal doc) 
    {
        this.doc = doc;
    }

    public BigDecimal getDoc() 
    {
        return doc;
    }
    public void setDon(BigDecimal don) 
    {
        this.don = don;
    }

    public BigDecimal getDon() 
    {
        return don;
    }
    public void setCdall(String cdall) 
    {
        this.cdall = cdall;
    }

    public String getCdall() 
    {
        return cdall;
    }
    public void setCd(String cd) 
    {
        this.cd = cd;
    }

    public String getCd() 
    {
        return cd;
    }
    public void setAnno3(String anno3) 
    {
        this.anno3 = anno3;
    }

    public String getAnno3() 
    {
        return anno3;
    }
    public void setAnnh4(String annh4) 
    {
        this.annh4 = annh4;
    }

    public String getAnnh4() 
    {
        return annh4;
    }
    public void setCec(String cec) 
    {
        this.cec = cec;
    }

    public String getCec() 
    {
        return cec;
    }
    public void setEc(String ec) 
    {
        this.ec = ec;
    }

    public String getEc() 
    {
        return ec;
    }
    public void setAlln(String alln) 
    {
        this.alln = alln;
    }

    public String getAlln() 
    {
        return alln;
    }
    public void setAK(String aK) 
    {
        this.aK = aK;
    }

    public String getAK() 
    {
        return aK;
    }
    public void setAP(String aP) 
    {
        this.aP = aP;
    }

    public String getAP() 
    {
        return aP;
    }
    public void setPh(String ph) 
    {
        this.ph = ph;
    }

    public String getPh() 
    {
        return ph;
    }
    public void setOc(String oc) 
    {
        this.oc = oc;
    }

    public String getOc() 
    {
        return oc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sId", getsId())
            .append("doc", getDoc())
            .append("don", getDon())
            .append("cdall", getCdall())
            .append("cd", getCd())
            .append("anno3", getAnno3())
            .append("annh4", getAnnh4())
            .append("cec", getCec())
            .append("ec", getEc())
            .append("alln", getAlln())
            .append("aK", getAK())
            .append("aP", getAP())
            .append("ph", getPh())
            .append("oc", getOc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
